﻿
namespace Mulala.Cavan.Application.Seedwork
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics.Contracts;
    using System.Linq;
    using Mulala.Cavan.Core.Persistent;

    public interface IBaseAppService<T, in TSearch> : IBaseAppService<T, int, TSearch>
        where T : class, IPersistentObjectWithTypedId<int>
        where TSearch : class, ISearch<int>
    {
    }

    public interface IBaseAppService<T, in TID, in TSearch> : IEntityAppService<T, TID, TSearch>
        where T : class, IPersistentObjectWithTypedId<TID>
        where TSearch : class, ISearch<TID>
    {
    }
}